<template>
	<div>
		<mu-dialog :open="alertData.openState" title="温馨提示" @close="alertClose">

			<div class="col_danger">{{alertData.content}}</div>
			
		    <mu-flat-button slot="actions" @click="alertClose" primary label="确定"/>
		</mu-dialog>
	</div>
</template>

<script>
export default{
	props: {
		alertData: {
			openState: false,	//开启状态
			content: '',		//内容
		}
	},
	methods: {
		alertClose(){	//关闭
			this.alertData.openState = false;
		}
	}
}
</script>